/*验证支付表单密码是否合法*/
function pay_OK() {
    var pwd = document.getElementsByClassName("pwd");
    for (let i = 0; i < pwd.length; i++) {
        if (!/\d/.test(pwd[i].value)) {
            alert("密码格式错误！");
            return false;
        }
    }
    return true;
}